package com.lrs.java.j2se_base.baseSyntax;

class MNA {
	private void f() {System.out.println("MNA --- f()");}
	class A {
		private void g() {System.out.println("MNA.A --- g()"); /*new B().i();*/}
		public class B {
			void h() {
				g();
				f();
			}
			public void i() {System.out.println("MNA.A.B --- i()");}
		}
	}
}
public class TestInnerClass {
	public static void main(String[] args) {
		MNA mna = new MNA();
		MNA.A mnaa = mna.new A();
		MNA.A.B mnaab = mnaa.new B();
		mnaab.h();
	}
}
